import request from "@/utils/request";
/**
 * 获得宝宝档案分页
 */
export function getMemberBabyList(params: any) {
  return request.get(`member/baby/page`, params, { isYuDao: true });
}
/**
 * 创建宝宝档案
 */
export function createMemberBaby(data: any) {
  return request.post(`member/baby/create`, data, { isYuDao: true });
}
/**
 * 更新宝宝档案
 */
export function updateMemberBaby(data: any) {
  return request.put(`member/baby/update`, data, { isYuDao: true });
}
/**
 * 
 * 查询宝宝档案
 * 
 */
export function getMemberBaby(params: any) {
  return request.get(`member/baby/get`, params, { isYuDao: true });
}
/**
 * 获得宝宝档案-自助诊查-调理单分页
 */
export function getMemberBabyRecordList(params: any) {
  return request.get(`member/baby-record/page`, params, { isYuDao: true });
}
/**
 * 获得宝宝档案-自助诊查-调理单分页
 */
export function createMemberBabyRecordList(data: any) {
  return request.post(`member/baby-record/create`, data, { isYuDao: true });
}
export function getMemberBabyRecord(params: any) {
  return request.get(`member/baby-record/get`, params, { isYuDao: true });
}
/**
 * 获得动态表单分页
 */
export function getBpmFormPage(params: any) {
  return request.get(`bpm/form/page`, params, { isYuDao: true });
}